home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / tcp / SLIPScripts1_3.lha / StartNet < prev   
Text File  |  1995-02-01  |  1KB  |  25 lines

  1. ;  This is a sample DOS script to replace AmiTCP:bin/startnet from
  2. ;   the original AmiTCP 3.0b distribution.
  3. ;--------------------------------------------------------------
  4. runback AmiTCP:AmiTCP
  5. WaitForPort AMITCP >nil:
  6. AmiTCP:bin/ifconfig lo0 localhost >nil:
  7. ;  I use the cslip0 interface below, try slip0 if compressed SLIP is
  8. ;   not available from your provider.  Be sure to use the same interface
  9. ;   here as you used in SLIPStart.rexx.
  10. ;  Next, the "$ip" is the environment variable set up by the scripts
  11. ;   which will be *your* host address for this SLIP session.  8)
  12. ;  Next, you supply the host address (i.e. the address of your provider).
  13. ;  The address mask after "netmask" should not need to be changed.
  14. AmiTCP:bin/ifconfig cslip0 $ip 129.123.45.0 netmask 255.255.255.0 >nil:
  15. ;  Add any aliases you like, be sure to include "localhost" tho.
  16. AmiTCP:bin/route add me.mydomain.edu localhost >nil:
  17. ;  Here, you specify the default gateway address given by your provider.
  18. AmiTCP:bin/route add default 129.123.45.2 >nil:
  19. Assign TCP: Exists >nil:
  20. IF Warn
  21.   Mount TCP: from AmiTCP:devs/Inet-Mountlist >nil:
  22. EndIf
  23. runback AmiTCP:bin/inetd
  24.  
  25.